using MediatR;
using S.O.Domain.Dto.Output;
using S.O.ErrorCode;
using System.ComponentModel.DataAnnotations;

namespace S.O.Api.Read.Application.Command.Medical
{
    /// <summary>
    /// 获取处方详情查询命令
    /// 根据处方ID获取处方的完整信息，包括药品明细
    /// </summary>
    public class GetPrescriptionDetailCommand : IRequest<APIResult<PrescriptionDto>>
    {
        /// <summary>
        /// 处方ID
        /// </summary>
        [Required(ErrorMessage = "处方ID不能为空")]
        public string PrescriptionId { get; set; } = string.Empty;
    }
}